package com.toulezu.test.transaction;

import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

@Service
public class UserService {

    @Transactional
    public int addUser() {
        System.out.println(1 / 0);
        return 1;
    }
}
